<html>
  <body>
    <?state state=text, attr_type=none?>
    <b font="<?state state=value, tag=b, attr=font, attr_quoted=true,
      in_js=false, attr_type=regular ?>
<?state reset=true ?>
<?state state=text, attr_type=none ?>
<b <?state state=tag, tag=b ?>
<?state reset_mode=js ?>
<?state state=js_file?>
var unquoted =<?state js_quoted=false, in_js=true ?>;
var single_quoted ='<?state js_quoted=true, in_js=true ?>';
var unquoted =<?state js_quoted=false, in_js=true ?>;
<?state reset_mode=html_in_tag?>blah=<?state attr=blah?>xpto<?state value=xpto?>
test<?state state=attr?>
<?state reset_mode=html_in_tag?>
test="test123<?state attr=test, value=test123?>">
<?state state=text?>
<?state reset_mode=css?>
<?state in_css=true?>
<?state state=css_file?>

<a href="<?state in_css=true?>"></style><?state in_css=true?>

<123 <script><?state in_css=true?>

<?state reset_mode=html?>
<?state in_css=false?>
    <?state state=text, attr_type=none?>
    <b font="<?state state=value, tag=b, attr=font, attr_quoted=true,
      in_js=false, attr_type=regular ?>
